/**
 * Created by Administrator on 2022/8/31.
 */
interface Runing {
    void run();
}
interface Swimming {
    void swim();
}
interface Amphibian extends Runing,Swimming {

}
class Zoon implements Amphibian {
    public void run() {
        System.out.println("跑");
    }
    public void swim() {
        System.out.println("游");
    }
}
public class Test4 {
    public static void main(String[] args) {
        Zoon zoon = new Zoon();
        zoon.swim();
        zoon.run();
    }
}
